package com.zm.devmag.device.service;


import java.util.List;
import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import com.zm.devmag.device.po.Category;
import com.zm.devmag.device.po.TempData;

public interface CategoryServer {
	List<Category> findAll();
	//excel导入设备记录
	String importDeviceByExcel(MultipartFile file,String uacc);
	List<TempData> getAllTempDataByINo(String ino);
	 int insertSelective(Category record);
	 List<Category> getCategroyByCtype(String ctype);
	 Category selectByPrimaryKey(Long id);
	 int updateByPrimaryKeySelective(Category record);
	 int selectSubCataCountBySid(Long sid);
	 int deleteByPrimaryKey(Long id);
	 List<Category> selectChildCateByPid(Long pid);
	 Map<String, String> addCategoryTable(String importno,String cid,String fcid,String dcid,String sarr[],Long uid);
}
